" .$yellow_page_category[name]; //$yellow_page_category_1_list = get_query_list($conn, "select * from yellow_page_category where level=1 order by id"); //$yellow_page_category_2_list = get_query_list($conn, "select * from yellow_page_category where level=2 order by father_id, id"); /**************************************** * handle page number & size * ****************************************/ $total_page = 0; if( !empty($_POST["page_size"]) ) $page_size = $_POST["page_size"]; if( ($_POST["action"]=="pagesize") && !empty($_POST["p_size"]) ) $page_size = $_POST["p_size"]; $total_rows = get_a_value($conn, "select count(*) from yellow_page_item where $where"); if( $page_size > $total_rows ) $page_size = $total_rows; if( empty($page_size) || ($page_size < 1) ) $page_size = 20; if( empty($current_page) ) $current_page = 1; if($_POST["action"]=="lastpage") $current_page--; if($_POST["action"]=="nextpage") $current_page++; if($_POST["action"]=="gopage") $current_page = $_POST["gopage"]; $total_page = ($total_rows - $total_rows % $page_size) / $page_size; if($total_rows % $page_size > 0) $total_page++; if(sizeof($item_list) % $page_size) $total_page++; if($current_page < 1) $current_page = 1; if($current_page > $total_page) $current_page = $total_page; $submit_to = "yellow_page.php"; $page_contral_bgcolor="#f4f7fb"; $start_row = ($current_page - 1) * $page_size; $sql = "select * from yellow_page_item where ($where) and status=1 " . " order by display_order, update_date desc " . " LIMIT $start_row, $page_size"; $item_list = get_query_list($conn, $sql); /* for($i=0; $i"; } */ ?>
infomation center 欢迎免费加入"星星黄页"
黄页 ==> ==>
欢迎免费加入"星星黄页"

     地图   网页   
     联系人:
  

 
1 ) include("../include/news_list_control_front_end.php"); ?>